const {body} = require('express-validator')
const validate = require('../middleware/validate')


exports.postApplication = validate([
  body('name').notEmpty().withMessage('姓名不能为空'),
  body('phone').notEmpty().withMessage('手机号码不能为空'),
  body('resource').notEmpty().withMessage('资源不能为空'),
])
